Linux development

Contents|Index|Previous|Next
Linux development

The following documentation describes information pertinent only to Linux systems using GNUPro Toolkit software.

For specific information about Linux, see the Red Hat Linux User’s Guide or the other documentation resources found at the Red Hat website:

>     http://www.redhat.com

For more on Linux in general, see:

>     http://www.linuxweb.com/What_is_Linux.html

Using GNUPro tools with Linux systems

GNUPro Toolkit for Linux systems uses the same CD installation procedure as any other development environment. However, there are some considerations about which you should be aware.

- The installer will create its own directory called `/usr/cygnus`. If you need to install the files in another location, use the `--prefix` option in order to run the installer. See the Red Hat Linux User’s Guide or the man pages for details on the `--prefix` option.
- If you are using Red Hat version 4.2, you must use the rpm version 2.5.1.0 or later to ensure proper installation of the tools in GNUPro Toolkit.

Find the version on the web using the following URL:

    http://www.redhat.com/support/docs/rhl/rh42-errata-general.html#rpm

- Test the installation.
Add the `usr/cygnus/redhat-980810/H-i386-pc-linux-gnu/bin` directory to your path. Consult your shell’s man page for directions. For example, with a csh or tcsh shell, use the following command at the prompt (`<directory>` is the directory which you’ve just added).

    set path=(<directory> $path)

The `usr/cygnus/gnupro-99r1/H-i386-pc-linux-gnu/bin` directory will now be at the front of your path. Then, enter the command, `which gcc`. This will return `/usr/cygnus/gnupro-99r1/H-i386-pc-linux-gnu/bin` as the full path; then, enter the command, `gcc`, and the GNU C compiler will run. Similarly, enter the `gdb` command to invoke the GNUPro visual debugger, Cygnus Insight.

Note:
When rebuilding the Linux kernel, be sure to specify the Red Hat-supplied version of `gcc` instead of the `gcc` version provided with GNUPro Toolkit. The compiler provided with Red Hat is specifically designed for kernel rebuilding.

Top|Contents|Index|Previous|Next